package com.spring.boot.standard.admin.common.beans;

import org.apache.poi.ss.formula.functions.T;

import java.util.List;

public class PageData<T> {

    private long total;
    private List<T> rows;

    public PageData() {
        super();
    }

    public PageData(long total, List<T> rows) {
        this.total = total;
        this.rows = rows;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

}
